package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffMidTargetSelectConfigDto
 * @使用场景
 */
@Data
public class BffMidTargetSelectConfigDto implements Serializable {

  /**
   * 答案值
   */
  @ApiModelProperty("答案值")
  private String endValue;

  /**
   * 选项标识
   */
  @ApiModelProperty("选项标识")
  private String confOptionCode;

  /**
   * 选项名称
   */
  @ApiModelProperty("选项名称")
  private String confOptionName;

  /**
   * 扩展字段1（非必填）
   */
  @ApiModelProperty("扩展字段1 （非必填）")
  private String extensionField1;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffMidTargetSelectConfigDto that = (BffMidTargetSelectConfigDto) o;
      return  endValue == that.endValue&&confOptionCode == that.confOptionCode&&confOptionName == that.confOptionName&&extensionField1 == that.extensionField1;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), endValue,confOptionCode,confOptionName,extensionField1);
    }

}
